import {
  GET_BASIC_TABLE
} from './action_type';

const defaultState = {
  basicTableData: []
};

const reducers = (state = defaultState, action) => {
  const {type, basicTableData} = action
  switch (type) {
    case GET_BASIC_TABLE:
      return {
        basicTableData
      };
    default:
      return state;
  }
}

export default reducers;
